// 类型定义
export interface Doctor {
  id: string;
  name: string;
  title: string;
  hospital: string;
  department: string;
  avatar: string;
  isOnline: boolean;
  consultationMethods: ConsultationMethod[];
  specialties: string;
  rating: number;
  commendations: number;
  views: number;
  price: number;
  isGradeA?: boolean;
}

export type ConsultationMethod = '图文咨询' | '电话咨询' | '视频咨询';

export interface Department {
  id: string;
  name: string;
  isActive: boolean;
}

export interface Service {
  id: string;
  name: string;
  icon: string;
  description: string;
  tag?: string;
}

export interface Announcement {
  id: string;
  content: string;
  type: 'info' | 'warning' | 'success';
}

// 模拟数据
export const doctors: Doctor[] = [
  {
    id: '1',
    name: '涂晓瑜',
    title: '主治医师',
    hospital: '东莞市第八人民医院',
    department: '妇科',
    avatar: 'https://ui-avatars.com/api/?name=涂晓瑜&background=4F46E5&color=fff&size=40',
    isOnline: true,
    consultationMethods: ['图文咨询', '电话咨询'],
    specialties: '擅长对妇产科常见病、多发病的治疗，特别是妇科内分泌疾患（多囊卵巢综合症、更年期综合征）',
    rating: 99,
    commendations: 3,
    views: 11942,
    price: 15
  },
  {
    id: '2',
    name: '王晓玲',
    title: '副主任医师',
    hospital: '辽宁省妇幼保健院',
    department: '产科',
    avatar: 'https://ui-avatars.com/api/?name=王晓玲&background=10B981&color=fff&size=40',
    isOnline: false,
    consultationMethods: ['图文咨询', '电话咨询', '视频咨询'],
    specialties: '常规孕检，产前诊断与筛查。各种妇科疾病',
    rating: 98,
    commendations: 5,
    views: 15678,
    price: 25,
    isGradeA: true
  },
  {
    id: '3',
    name: '李医生',
    title: '主任医师',
    hospital: '北京协和医院',
    department: '儿科',
    avatar: 'https://ui-avatars.com/api/?name=李医生&background=F59E0B&color=fff&size=40',
    isOnline: true,
    consultationMethods: ['图文咨询', '视频咨询'],
    specialties: '儿童常见病、多发病的诊断与治疗，儿童生长发育评估',
    rating: 100,
    commendations: 8,
    views: 23456,
    price: 50,
    isGradeA: true
  }
];

export const departments: Department[] = [
  { id: '1', name: '妇产科', isActive: true },
  { id: '2', name: '儿科', isActive: false },
  { id: '3', name: '皮肤科', isActive: false },
  { id: '4', name: '心血管内科', isActive: false },
  { id: '5', name: '呼吸科', isActive: false },
  { id: '6', name: '骨科', isActive: false },
  { id: '7', name: '神经科', isActive: false },
  { id: '8', name: '消化科', isActive: false }
];

export const services: Service[] = [
  {
    id: '1',
    name: '预约挂号',
    icon: 'calendar',
    description: '30W+专家入驻',
    tag: undefined
  },
  {
    id: '2',
    name: '在线咨询',
    icon: 'message-circle',
    description: '专业医生在线问诊',
    tag: '快'
  },
  {
    id: '3',
    name: '复诊开方',
    icon: 'clipboard',
    description: '慢病续方送到家',
    tag: undefined
  }
];

export const announcements: Announcement[] = [
  {
    id: '1',
    content: '系统维护通知：今晚22:00-24:00进行系统升级，期间可能影响部分功能使用，给您带来的不便敬请谅解。升级完成后将为您提供更好的服务体验。',
    type: 'warning'
  }
]; 